<div class="top">
  <h1><?php echo $heading_title; ?></h1>
</div>
<div class="middle">
  <?php if ($error) { ?>
  <div class="warning"><?php echo $error; ?></div>
  <?php } ?>
  <form action="<?php echo $action; ?>" method="post" enctype="multipart/form-data" id="forgotten">
    <p><?php echo $text_email; ?></p> </br>

    <b style="margin-bottom: 3px; display: block;"><?php echo $text_your_email; ?></b>
    <div style="background: #F7F7F7; border: 1px solid #DDDDDD; padding: 10px; margin-bottom: 10px;">
      <table>
        <tr>
          <td width="150"><b><?php echo $entry_email; ?></td></b>
          <td><input type="text" name="email" /></td>

    <!--Begin add code D-Ngan July 13 2012-->
         </tr>
         <tr>
         	<td with ="150"><?php //$captcha_notice;?></td>
            <td>
		  <?php
			$listDir=explode('/',str_replace('\\','/',DIR_SYSTEM));
			$lastDir=$listDir[count($listDir)-2];
			$relateDir='./'.$lastDir.str_replace('\\','/','\library');
			require_once($relateDir.'/captcha.php');
			$capthaOBJ = new Captcha();
			$imgout=$relateDir.'/outimg.jpg';
			$capthaOBJ->OutputCaptcha(100,30,6,$relateDir.'/img.jpg',$imgout);
			echo '<img src="', $imgout ,'"width="100" height="30" /> ';
		  ?>
          </td>
          <tr>
          <td width="150"><b>Mã xác nhận:</b> <?php ?></td>
          <td><input type="text" name="emailValidCaptcha" /></td>
          
     <!--End add code D-Ngan Junly 13 2012!-->
        </tr>
      </table> 
    </div>
    <div class="buttons">
      <table>
        <tr>
          <td align="left"><a onclick="location='<?php echo $back; ?>'" class="button"><span><?php echo $button_back; ?></span></a></td>
          <td align="right"><a onclick="$(function(){$('#forgotten').submit();});" class="button"><span><?php echo $button_continue; ?></span></a></td>
        </tr>
      </table>
    </div>
  </form>
</div>
<div class="bottom">&nbsp;</div>